package com.sap.jcp.sm.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="SHIFT")
public class Shift implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long shiftId;
	private String shiftName;
	private String shiftDescription;
	private String deleteFlag;
	private String isCompOffApplicable;
	private String isScheduleApplicable;
	@Column(name="DELETE_FLAG")
	public String getDeleteFlag() {
		return deleteFlag;
	}
	@Column(name="COMP_APP")
	public String getIsCompOffApplicable() {
		return isCompOffApplicable;
	}
	public void setIsCompOffApplicable(String isCompOffApplicable) {
		this.isCompOffApplicable = isCompOffApplicable;
	}
	@Column(name="SCHE_APP")
	public String getIsScheduleApplicable() {
		return isScheduleApplicable;
	}
	public void setIsScheduleApplicable(String isScheduleApplicable) {
		this.isScheduleApplicable = isScheduleApplicable;
	}
	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@Id
	@GeneratedValue
	@Column(name="SHFT_ID", nullable = false)
	public Long getShiftId() {
		return shiftId;
	}
	public void setShiftId(Long shiftId) {
		this.shiftId = shiftId;
	}
	@Column(name="SHFT_NAME")
	public String getShiftName() {
		return shiftName;
	}
	public void setShiftName(String shiftName) {
		this.shiftName = shiftName;
	}
		
	@Column(name="SHFT_DESC")
	public String getShiftDescription() {
		return shiftDescription;
	}
	public void setShiftDescription(String shiftDescription) {
		this.shiftDescription = shiftDescription;
	}
}
